Instructions on how to use the template
---------------------------------------------------------------

Using this template, you can create conditions for the reaction time and the accuracy that need to be fulfilled in the tests in order for the trials to start. 
If the conditions are not fulfilled, a special text will appear telling the participant to retry the tests and try to fulfill the conditions.

This is done by two code components. Only one of them is important though for you to adjust the conditions to your liking. This is the one you can find in the routine called Tests. In the part called "Begin experiment", you find the following codes on the bottom:


#Conditions for continuing with the trials

#Minimum accuracy = 50%
#There are 4 trials, 50% of that are 2
MINIMUM_ACCURACY_THRESHOLD = 2

#Maximal RT (in s)
MAXIMUM_RT_THRESHOLD = 0.8


The variable MINIMUM_ACCURACY_THRESHOLD defines the minimal number of trials that has to be answered correctly. In this template, 50% need to be answered correctly and there are 4 trials, thus, the value of MINIMUM_ACCURACY_THRESHOLD is 2.

The maximal reaction time is at 0.8 seconds, so 800 milliseconds. This refers to the mean RT from all tests and not to the reaction times of every individual test.

By changing the values of these variables, you can adjust the template.
This is all you have to know to use and adjust this template. If you have any questions, do not hesitate to contact the person listed as responsible for PsychoPy support on the INF website: https://crc1646.pages.ub.uni-bielefeld.de/inf/website/#members
 